package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;

public class ScanResultResponse extends SecurityResponse<ScanResultResponse.Body> {

    private static final long serialVersionUID = 1L;

    public ScanResultResponse(Integer code, String msg) {
        super(code,msg);
        this.body = new Body();
    }

    public ScanResultResponse(Integer code) {
        super(code);
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private Integer type;       //1:订单，2:设备信息，3:网点ID
        private String tradeNo;
        private String deviceSn;
        private Long placeId;

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }

        public String getTradeNo() {
            return tradeNo;
        }

        public void setTradeNo(String tradeNo) {
            this.tradeNo = tradeNo;
        }

        public String getDeviceSn() {
            return deviceSn;
        }

        public void setDeviceSn(String deviceSn) {
            this.deviceSn = deviceSn;
        }

        public Long getPlaceId() {
            return placeId;
        }

        public void setPlaceId(Long placeId) {
            this.placeId = placeId;
        }
    }
}
